package org.apache.hadoop.mapred.lib;

import org.apache.hadoop.mapred.FileSplit;
import org.apache.hadoop.mapred.InputSplit;

public class TaggedInputSplitWrapper {
	public static FileSplit getFileSplit(InputSplit split) {
		if (split instanceof TaggedInputSplit)
			return (FileSplit)((TaggedInputSplit)split).getInputSplit();
		else
			return (FileSplit)split;
	}
}
